import service from '@/utils/request'

export const getHistory = (params) => {
    return new Promise((resolve, reject) => {
        service.post('/api/weather-area/get-history', params)
            .then(res => {
                resolve(res.data)
            })
    })
}